package com.qujia.customer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @date 2023/10/23
 */
@Setter
@Getter
@TableName("reduction_activity_balance_record")
public class ReductionActivityBalanceRecord {

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long rabrId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户手机号
     */
    private String mobilePhone;

    /**
     * 充值金额
     */
    private BigDecimal rechargeAmt;

    /**
     * 余额
     */
    private BigDecimal balance;

    /**
     * 油类：2.柴油； 1.汽油
     */
    private String cardOilsType;

    /**
     * 油站id
     */
    private Long stationId;

    /**
     * 油企id
     */
    private Long enterpriseId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    private String newUserFlag;

    private String businessType;

    private String physicalCardNo;

    @TableField(exist = false)
    private String paymentMethod;

}
